﻿using Common.Contract.HuntingCustomer;
using Common.Contract.HuntingCustomer.Request;
using Common.Contract.HuntingCustomer.Response;
using SalePerformance.Core.ServiceCommand.HuntingCustomer;
using SalePerformance.Service.Core;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SalePerformance.Service
{
    public class HuntingCustomerService : ServiceBase, IHuntingCustomer
    {
        public RetrieveCustomerHuntingByDaoResponse RetrieveCustomerHuntingByDao(RetrieveCustomerHuntingByDaoRequest request)
        {
            return new RetrieveCustomerHuntingByDaoServiceCommand(Provider).Execute(request);
        }
        public RetrieveRelationCustomerInfoByLeadIdResponse RetrieveRelationCustomerInfoByLeadId(RetrieveRelationCustomerInfoByLeadIdRequest request)
        {
            return new RetrieveRelationCustomerInfoByLeadIdServiceCommand(Provider).Execute(request);
        }
    }
}
